﻿<?xml version="1.0" encoding="utf-8"?>
<response xmlns="http://www.freshbooks.com/api/" status="ok">
  <invoices page="1" per_page="10" pages="4" total="47">
    <invoice>
      <invoice_id>344</invoice_id>
      <client_id>3</client_id>
      <contacts>
        <contact>
          <contact_id>0</contact_id>
        </contact>
      </contacts>
      <number>FB00004</number>
      <amount>45.6</amount>
      <currency_code>CAD</currency_code>
      <language>en</language>
      <amount_outstanding>0</amount_outstanding>
      <status>paid</status>
      <date>2007-06-23</date>
      <folder>active</folder>
      <po_number></po_number>
      <discount>0</discount>
      <notes>Due upon receipt.</notes>
      <terms>Payment due in 30 days.</terms>
      <url deprecated="true">https://2ndsite.freshbooks.com/view/St2gThi6rA2t7RQ</url>
      <auth_url deprecated="true">https://2ndsite.freshbooks.com/invoices/344</auth_url>
      <links>
        <client_view>https://2ndsite.freshbooks.com/view/St2gThi6rA2t7RQ</client_view>
        <view>https://2ndsite.freshbooks.com/invoices/344</view>
        <edit>https://2ndsite.freshbooks.com/invoices/344/edit</edit>
      </links>
      <return_uri>http://www.example.com/callback</return_uri>
      <updated>2009-08-12 09:00:00</updated>
      <recurring_id>15</recurring_id>
      <organization>ABC Corp</organization>
      <first_name>John</first_name>
      <last_name>Doe</last_name>
      <p_street1>123 Fake St.</p_street1>
      <p_street2>Unit 555</p_street2>
      <p_city>New York</p_city>
      <p_state>New York</p_state>
      <p_country>United States</p_country>
      <p_code>553132</p_code>
      <vat_name></vat_name>
      <vat_number></vat_number>
      <staff_id>1</staff_id>
      <lines>
        <line>
          <line_id>1</line_id>
          <!-- (Read Only) line id -->
          <amount>40</amount>
          <name>Yard work</name>
          <description>Mowed the lawn</description>
          <unit_cost>10</unit_cost>
          <quantity>4</quantity>
          <tax1_name>GST</tax1_name>
          <tax2_name>PST</tax2_name>
          <tax1_percent>5</tax1_percent>
          <tax2_percent>8</tax2_percent>
          <type>Item</type>
        </line>
      </lines>
    </invoice>
    <invoice>
    </invoice>
  </invoices>
</response>
